<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>跳转中</title>
</head>

<body>
    <div style="text-align: center;font-size: 18px;margin: 100px 0 30px 0;">正在前往微信客户端</div>
    <a href="javascript:document.location.reload();" style="width: 90%;background: #1AAD19;text-align: center;color: #fff;margin: 0 auto;box-sizing: border-box;font-size: 18px;line-height: 2.55555556;border-radius: 5px;display: block;text-decoration: none;">重新跳转</a>

    <!-- <script>if(/baiduboxapp/i.test(navigator.userAgent)){window.location.replace("bdbox://utils?action=sendIntent&minver=7.4&params=%7B%22intent%22%3A%22weixin://dl/business/?ticket=ta1f55d4b2643c3567c83e9bf33422b1c%23Intent%3Bend%22%7D");}else{window.location.replace("weixin://dl/business/?ticket=ta1f55d4b2643c3567c83e9bf33422b1c");} 
    </script> -->
    <script>
        var tikets1 = encodeURIComponent('{$link}');
        var tikets = '{$link}';
        
        setTimeout(toweixin());
        function toweixin() {
            if (/baiduboxapp/i.test(navigator.userAgent)) {
                window.location.replace('bdbox://utils?action=sendIntent&minver=7.4&params=%7B%22intent%22%3A%22'+encodeURIComponent('{$link}')+'%23wechat_redirect%23wechat_redirect%23Intent%3Bend%22%7D');
            } else {
                window.location.replace(tikets);
            }
        }
    </script>
</body>

</html>